package com.b.dao;

import com.b.domain.SeckillActivity;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface SeckillActivityMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SeckillActivity record);

    Boolean insertSelective(SeckillActivity record);

    SeckillActivity selectByPrimaryKey(Integer id);

    Boolean updateByPrimaryKeySelective(SeckillActivity record);

    int updateByPrimaryKey(SeckillActivity record);

    @Select("select * from seckill_activity")
    List<SeckillActivity> getAll();
}